package com.neusoft.tijiancms.service.impl;

import com.neusoft.tijiancms.mapper.OverallresultMapper;
import com.neusoft.tijiancms.po.Overallresult;
import com.neusoft.tijiancms.service.OverallresultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OverallresultServiceImpl implements OverallresultService {
    @Autowired
    private OverallresultMapper overallresultMapper;

    @Override
    public List<Overallresult> listOverallResultByOrderId(Integer orderId) {
        return overallresultMapper.listOverallResultByOrderId(orderId);
    }

    @Override
    public int saveOverallResult(Overallresult overallresult) {
        return overallresultMapper.saveOverallResult(overallresult);
    }

    @Override
    public int updateOverallResult(Overallresult overallresult) {
        return overallresultMapper.updateOverallResult(overallresult);
    }

    @Override
    public int removeOverallResult(Overallresult overallresult) {
        return overallresultMapper.removeOverallResult(overallresult);
    }
}
